// import React from 'react';
// import { Button, Drawer } from 'antd';
// import { useDispatch, useSelector } from 'react-redux';
// import { projectListActions, selectProjectModalOpen } from 'screens/project-list/project-list.slice';
//
// const ProjectModal = () => {
//   const dispatch = useDispatch();
//
//   const projectModalOpen = useSelector(selectProjectModalOpen);
//
//   return (
//     <Drawer onClose={() => dispatch(projectListActions.closeProjectModal())} visible={projectModalOpen} width={'100%'}>
//       <i>prject modal</i>
//
//       <Button onClick={() => dispatch(projectListActions.closeProjectModal())}>关闭</Button>
//     </Drawer>
//   );
// };
//
// export default ProjectModal;
